\hypertarget{image__crop_8m}{
\section{image\_\-crop.m File Reference}
\label{image__crop_8m}\index{image\_\-crop.m@{image\_\-crop.m}}
}


Crop the image to specified range.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
rets \hyperlink{image__crop_8m_a233b13abe2f7428ecaa013e8ca2170b4}{image\_\-crop} (type image, type axis\_\-xy, type xy\_\-min, type xy\_\-max, type \hyperlink{start__simulation_8m_a73585d7121de037cf2e2ca12b27eb83e}{DEBUG})
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Crop the image to specified range. 

Definition in file \hyperlink{image__crop_8m_source}{image\_\-crop.m}.



\subsection{Function Documentation}
\hypertarget{image__crop_8m_a233b13abe2f7428ecaa013e8ca2170b4}{
\index{image\_\-crop.m@{image\_\-crop.m}!image\_\-crop@{image\_\-crop}}
\index{image\_\-crop@{image\_\-crop}!image_crop.m@{image\_\-crop.m}}
\subsubsection[{image\_\-crop}]{\setlength{\rightskip}{0pt plus 5cm}rets image\_\-crop (
\begin{DoxyParamCaption}
\item[{type}]{image, }
\item[{type}]{axis\_\-xy, }
\item[{type}]{xy\_\-min, }
\item[{type}]{xy\_\-max, }
\item[{type}]{DEBUG}
\end{DoxyParamCaption}
)}}
\label{image__crop_8m_a233b13abe2f7428ecaa013e8ca2170b4}

\begin{DoxyParams}{Parameters}
{\em image} & Image to be cropped \\
\hline
{\em axis\_\-xy} & original range of axes in the image \\
\hline
{\em xy\_\-min} & top left hand corner of the crop box \\
\hline
{\em xy\_\-max} & bottom right hand corner of the crop box \\
\hline
{\em DEBUG} & Debug mode. If DEBUG=1, save the preview image. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em new\_\-image} & cropped image \\
\hline
{\em new\_\-axis\_\-xy} & new axes range \\
\hline
\end{DoxyRetVals}


Definition at line \hyperlink{image__crop_8m_source_l00018}{18} of file \hyperlink{image__crop_8m_source}{image\_\-crop.m}.

